package com.qczl.pme.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qczl.pme.dao.CameraDao;
import com.qczl.pme.pojo.Camera;
import com.qczl.pme.service.CameraService;

@Service
public class CameraServiceImpl implements CameraService {
	@Resource
	private CameraDao cameraDao;

	public Camera getById(String id) throws Exception {
		return cameraDao.selectByPrimaryKey(id);
	}

}
